package com.ggboy.item_bank.service.imp;

import com.ggboy.item_bank.beans.Subject;
import com.ggboy.item_bank.dao.SubjectDao;
import com.ggboy.item_bank.service.SubjectService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class SubjectServiceImpl implements SubjectService {
    @Resource
    private SubjectDao subjectDao;

    public List<Subject> selectSubBySpecialtyId(Integer specialtyId) {//学院ID查出所有学院的课程
        return subjectDao.selectSubBySpecialtyId(specialtyId);
    }


}
